package org.example.mybatisdemo.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.mybatisdemo.model.UserInfo;

import java.util.List;
@Mapper
public interface UserInfoXmlMapper {

    List<UserInfo> sellectAll();
    Integer insertUser(UserInfo userInfo);
    Integer updateUser(Integer id,String password);
    Integer deleteUserById(Integer id);
    Integer insertUserByCondition(UserInfo userInfo);
    List<UserInfo> selectUserByCondition(UserInfo userInfo);
    Integer updateUserByCondition(UserInfo userInfo);
    Integer batchDelete(List<Integer> ids);
}
